#pragma once

#include <string>
#include <iostream>

// 日志等级
#define DEBUG   0
#define NORMAL  1
#define WARNING 2
#define ERROR   3
#define FATAL   4

void logMessage(int level, const std::string& str)
{
    //[日志等级] [时间] [pid] [错误信息]

    std::cout<<str<<std::endl;
}